package  wibrst.time{
	import flash.events.TimerEvent;
	import flash.utils.Timer;
	
	/**
	 * ...
	 * @author ...
	 */
	public class MarkedTimer extends Timer{
		
		public function MarkedTimer( delay:Number, timerHandler:Function, repeatCount:int = 1 ) {
			super( delay, repeatCount );
			super.addEventListener( TimerEvent.TIMER, timerHandler );
		}
		
		public function launchSession( id:String, nDelay:Number, nCount:Number = 1 ):void {
			super.reset();
			
			this._id = id;
			super.delay = nDelay;
			super.start();
		}
		
		private var _id:String;
		
		public function get id():String { return _id; }
		
	}

}